package com.lumm.services;

import com.lumm.model.Dynamic;
import com.lumm.model.Message;
import com.lumm.model.RecommendItem;

import java.util.List;

public interface DynamicService {

    public int sendDynamic(int userId,String content);

    public List<Dynamic> getFoundList(int userId,int offset,int count);

    //public List<RecommendItem> getFollowingUserList(int userId,String orderBy,int offset,int count);

    public int followUser(int userId,int followedUser);

    public List<RecommendItem> getFollowingList(int userId,int offset,int count);

    public List<RecommendItem> getFansList(int userId,int offset,int count);



    public boolean checkFollowing(int userId,int followedUser);

    public int sendMessage(int userId,int toUserId, String content);

    public List<Message> getMessageList(int userId, int offset, int count);

    public int deleteMessage(int userId,int messageId);

}
